package com.common.api.model;

import java.io.Serializable;

import lombok.Data;

/**
 * 键值对 Pojo对象.
 *
 * @param <K>
 * @param <V>
 * @author ficus.
 */
@Data
public class KeyValuePair<K, V> implements Serializable {

	private static final long serialVersionUID = 1L;

	public KeyValuePair() {
		super();
	}
	
	public KeyValuePair(K key, V value) {
		super();
		this.key = key;
		this.value = value;
	}

	/** 键. */
    private K key;

    /** 值. */
    private V value;
    
    /**
     * 枚举内容
     */
    private Object extInfo;
}
